package com.boc.langxiang.contract.common;


import com.boc.langxiang.contract.BaseView;
import com.boc.langxiang.entity.response.SmsCodeEntity;
import com.boc.langxiang.presenter.BasePresenter;

/**
 * CreateTime: 2016-06-14上午10:29
 * Author: wjkjinke00@126.com
 * Description:
 */
public interface ForgetPasswordContract {
    interface View extends BaseView {
        void onGetSmsCodeSuccess(SmsCodeEntity smsCodeEntity);

        void loginSuccess();

        void smsCodeVerifySuccess();

        void smsCodeVerifyFail(String code, String message);
    }

    interface Presenter extends BasePresenter {
        void sendCode(String phone);

        void accountFindPwd(String phone, String pwd1, String pwd2);

        void smsCodeVerify(String phone, String smscode);
    }
}
